
abstract class Animal {
    public String name;

    public Animal(String name) {
        this.name = name;
    }
    public abstract void eat();
}
class dog extends Animal {

    public dog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println(this.name+"正在吃奥里给！");
    }
}
public class Test {

    public static void main(String[] args) {

    }
}
